package com.wyw.hemerocallis.repository;

import com.wyw.hemerocallis.entity.HemerocallisUserRole;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * 类/方法简述
 *
 * @author Mr Wu    yewen.wu.china@gmail.com
 * <p>
 * Update History:
 * Author        Time            Content
 */
public interface HemerocallisUserRoleRepository extends JpaRepository<HemerocallisUserRole, Long> {
    /**
     * 通过 userId 寻找数据记录
     */
    HemerocallisUserRole findByUserId(Long userId);
}
